package com.anolesoft.yr.store.stk.dao;

import com.anolesoft.yr.store.stk.entity.StkDispartPart;
import com.anolesoft.yr.store.stk.entity.StkDispartPartExample;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StkDispartPartDao extends BaseMapper<StkDispartPart> {
    long countByExample(StkDispartPartExample example);

    int deleteByExample(StkDispartPartExample example);

    List<StkDispartPart> selectByExample(StkDispartPartExample example);

    int updateByExampleSelective(@Param("record") StkDispartPart record, @Param("example") StkDispartPartExample example);

    int updateByExample(@Param("record") StkDispartPart record, @Param("example") StkDispartPartExample example);

    int updateBatch(List<StkDispartPart> list);

    int updateBatchSelective(List<StkDispartPart> list);

    int batchInsert(@Param("list") List<StkDispartPart> list);

    int insertOrUpdate(StkDispartPart record);

    int insertOrUpdateSelective(StkDispartPart record);
}